﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.ServiceModel;
using System.Runtime.Serialization;
using GenericModels;

namespace WcfTicketsLibrary
{
    [ServiceContract]
    public interface IPerson
    {
        [OperationContract]
        Customer GetCustomerByPhoneNo(string phoneNo);

        [OperationContract]
        Employee GetEmployeeById(int empId);

        [OperationContract]
        bool AddBookingToCustomer(Customer cust, Booking booking);
    }
}
